<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
     <button id="btn">2123</button>
    <div id="body"> <div id="div_1">2132312<div> </div>
	  
 </body>
 <script>
    
   var btn = document.getElementById("btn");
   btn.addEventListener("click",function(){
       var div = document.getElementById("div_1");
       var body = document.getElementById("body");
	   body.removeChild(div);
   })
 </script>
</html>
